package com.hrd.mybatis.bean.auto;

import java.util.ArrayList;
import java.util.List;

public class TDCItemExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitEnd = -1;

    public TDCItemExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFidIsNull() {
            addCriterion("fID is null");
            return (Criteria) this;
        }

        public Criteria andFidIsNotNull() {
            addCriterion("fID is not null");
            return (Criteria) this;
        }

        public Criteria andFidEqualTo(Integer value) {
            addCriterion("fID =", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotEqualTo(Integer value) {
            addCriterion("fID <>", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThan(Integer value) {
            addCriterion("fID >", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fID >=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThan(Integer value) {
            addCriterion("fID <", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThanOrEqualTo(Integer value) {
            addCriterion("fID <=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidIn(List<Integer> values) {
            addCriterion("fID in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotIn(List<Integer> values) {
            addCriterion("fID not in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidBetween(Integer value1, Integer value2) {
            addCriterion("fID between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotBetween(Integer value1, Integer value2) {
            addCriterion("fID not between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidIsNull() {
            addCriterion("fCompanyID is null");
            return (Criteria) this;
        }

        public Criteria andFcompanyidIsNotNull() {
            addCriterion("fCompanyID is not null");
            return (Criteria) this;
        }

        public Criteria andFcompanyidEqualTo(Integer value) {
            addCriterion("fCompanyID =", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidNotEqualTo(Integer value) {
            addCriterion("fCompanyID <>", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidGreaterThan(Integer value) {
            addCriterion("fCompanyID >", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fCompanyID >=", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidLessThan(Integer value) {
            addCriterion("fCompanyID <", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidLessThanOrEqualTo(Integer value) {
            addCriterion("fCompanyID <=", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidIn(List<Integer> values) {
            addCriterion("fCompanyID in", values, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidNotIn(List<Integer> values) {
            addCriterion("fCompanyID not in", values, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidBetween(Integer value1, Integer value2) {
            addCriterion("fCompanyID between", value1, value2, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidNotBetween(Integer value1, Integer value2) {
            addCriterion("fCompanyID not between", value1, value2, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidIsNull() {
            addCriterion("fItemClassID is null");
            return (Criteria) this;
        }

        public Criteria andFitemclassidIsNotNull() {
            addCriterion("fItemClassID is not null");
            return (Criteria) this;
        }

        public Criteria andFitemclassidEqualTo(Integer value) {
            addCriterion("fItemClassID =", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidNotEqualTo(Integer value) {
            addCriterion("fItemClassID <>", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidGreaterThan(Integer value) {
            addCriterion("fItemClassID >", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fItemClassID >=", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidLessThan(Integer value) {
            addCriterion("fItemClassID <", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidLessThanOrEqualTo(Integer value) {
            addCriterion("fItemClassID <=", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidIn(List<Integer> values) {
            addCriterion("fItemClassID in", values, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidNotIn(List<Integer> values) {
            addCriterion("fItemClassID not in", values, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidBetween(Integer value1, Integer value2) {
            addCriterion("fItemClassID between", value1, value2, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidNotBetween(Integer value1, Integer value2) {
            addCriterion("fItemClassID not between", value1, value2, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFnoIsNull() {
            addCriterion("fNO is null");
            return (Criteria) this;
        }

        public Criteria andFnoIsNotNull() {
            addCriterion("fNO is not null");
            return (Criteria) this;
        }

        public Criteria andFnoEqualTo(String value) {
            addCriterion("fNO =", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotEqualTo(String value) {
            addCriterion("fNO <>", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoGreaterThan(String value) {
            addCriterion("fNO >", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoGreaterThanOrEqualTo(String value) {
            addCriterion("fNO >=", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoLessThan(String value) {
            addCriterion("fNO <", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoLessThanOrEqualTo(String value) {
            addCriterion("fNO <=", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoLike(String value) {
            addCriterion("fNO like", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotLike(String value) {
            addCriterion("fNO not like", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoIn(List<String> values) {
            addCriterion("fNO in", values, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotIn(List<String> values) {
            addCriterion("fNO not in", values, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoBetween(String value1, String value2) {
            addCriterion("fNO between", value1, value2, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotBetween(String value1, String value2) {
            addCriterion("fNO not between", value1, value2, "fno");
            return (Criteria) this;
        }

        public Criteria andFnameIsNull() {
            addCriterion("fName is null");
            return (Criteria) this;
        }

        public Criteria andFnameIsNotNull() {
            addCriterion("fName is not null");
            return (Criteria) this;
        }

        public Criteria andFnameEqualTo(String value) {
            addCriterion("fName =", value, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameNotEqualTo(String value) {
            addCriterion("fName <>", value, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameGreaterThan(String value) {
            addCriterion("fName >", value, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameGreaterThanOrEqualTo(String value) {
            addCriterion("fName >=", value, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameLessThan(String value) {
            addCriterion("fName <", value, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameLessThanOrEqualTo(String value) {
            addCriterion("fName <=", value, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameLike(String value) {
            addCriterion("fName like", value, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameNotLike(String value) {
            addCriterion("fName not like", value, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameIn(List<String> values) {
            addCriterion("fName in", values, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameNotIn(List<String> values) {
            addCriterion("fName not in", values, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameBetween(String value1, String value2) {
            addCriterion("fName between", value1, value2, "fname");
            return (Criteria) this;
        }

        public Criteria andFnameNotBetween(String value1, String value2) {
            addCriterion("fName not between", value1, value2, "fname");
            return (Criteria) this;
        }

        public Criteria andFpidIsNull() {
            addCriterion("fPID is null");
            return (Criteria) this;
        }

        public Criteria andFpidIsNotNull() {
            addCriterion("fPID is not null");
            return (Criteria) this;
        }

        public Criteria andFpidEqualTo(Integer value) {
            addCriterion("fPID =", value, "fpid");
            return (Criteria) this;
        }

        public Criteria andFpidNotEqualTo(Integer value) {
            addCriterion("fPID <>", value, "fpid");
            return (Criteria) this;
        }

        public Criteria andFpidGreaterThan(Integer value) {
            addCriterion("fPID >", value, "fpid");
            return (Criteria) this;
        }

        public Criteria andFpidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fPID >=", value, "fpid");
            return (Criteria) this;
        }

        public Criteria andFpidLessThan(Integer value) {
            addCriterion("fPID <", value, "fpid");
            return (Criteria) this;
        }

        public Criteria andFpidLessThanOrEqualTo(Integer value) {
            addCriterion("fPID <=", value, "fpid");
            return (Criteria) this;
        }

        public Criteria andFpidIn(List<Integer> values) {
            addCriterion("fPID in", values, "fpid");
            return (Criteria) this;
        }

        public Criteria andFpidNotIn(List<Integer> values) {
            addCriterion("fPID not in", values, "fpid");
            return (Criteria) this;
        }

        public Criteria andFpidBetween(Integer value1, Integer value2) {
            addCriterion("fPID between", value1, value2, "fpid");
            return (Criteria) this;
        }

        public Criteria andFpidNotBetween(Integer value1, Integer value2) {
            addCriterion("fPID not between", value1, value2, "fpid");
            return (Criteria) this;
        }

        public Criteria andFfullnameIsNull() {
            addCriterion("fFullName is null");
            return (Criteria) this;
        }

        public Criteria andFfullnameIsNotNull() {
            addCriterion("fFullName is not null");
            return (Criteria) this;
        }

        public Criteria andFfullnameEqualTo(String value) {
            addCriterion("fFullName =", value, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameNotEqualTo(String value) {
            addCriterion("fFullName <>", value, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameGreaterThan(String value) {
            addCriterion("fFullName >", value, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameGreaterThanOrEqualTo(String value) {
            addCriterion("fFullName >=", value, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameLessThan(String value) {
            addCriterion("fFullName <", value, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameLessThanOrEqualTo(String value) {
            addCriterion("fFullName <=", value, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameLike(String value) {
            addCriterion("fFullName like", value, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameNotLike(String value) {
            addCriterion("fFullName not like", value, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameIn(List<String> values) {
            addCriterion("fFullName in", values, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameNotIn(List<String> values) {
            addCriterion("fFullName not in", values, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameBetween(String value1, String value2) {
            addCriterion("fFullName between", value1, value2, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFfullnameNotBetween(String value1, String value2) {
            addCriterion("fFullName not between", value1, value2, "ffullname");
            return (Criteria) this;
        }

        public Criteria andFlevelIsNull() {
            addCriterion("fLevel is null");
            return (Criteria) this;
        }

        public Criteria andFlevelIsNotNull() {
            addCriterion("fLevel is not null");
            return (Criteria) this;
        }

        private Criteria andFlevelEqualTo_back(Byte value) {
            addCriterion("fLevel =", value, "flevel");
            return (Criteria) this;
        }

        private Criteria andFlevelNotEqualTo_back(Byte value) {
            addCriterion("fLevel <>", value, "flevel");
            return (Criteria) this;
        }

        private Criteria andFlevelGreaterThan_back(Byte value) {
            addCriterion("fLevel >", value, "flevel");
            return (Criteria) this;
        }

        private Criteria andFlevelGreaterThanOrEqualTo_back(Byte value) {
            addCriterion("fLevel >=", value, "flevel");
            return (Criteria) this;
        }

        private Criteria andFlevelLessThan_back(Byte value) {
            addCriterion("fLevel <", value, "flevel");
            return (Criteria) this;
        }

        private Criteria andFlevelLessThanOrEqualTo_back(Byte value) {
            addCriterion("fLevel <=", value, "flevel");
            return (Criteria) this;
        }

        public Criteria andFlevelIn(List<Byte> values) {
            addCriterion("fLevel in", values, "flevel");
            return (Criteria) this;
        }

        public Criteria andFlevelNotIn(List<Byte> values) {
            addCriterion("fLevel not in", values, "flevel");
            return (Criteria) this;
        }

        private Criteria andFlevelBetween_back(Byte value1, Byte value2) {
            addCriterion("fLevel between", value1, value2, "flevel");
            return (Criteria) this;
        }

        private Criteria andFlevelNotBetween_back(Byte value1, Byte value2) {
            addCriterion("fLevel not between", value1, value2, "flevel");
            return (Criteria) this;
        }

        public Criteria andFdetailIsNull() {
            addCriterion("fDetail is null");
            return (Criteria) this;
        }

        public Criteria andFdetailIsNotNull() {
            addCriterion("fDetail is not null");
            return (Criteria) this;
        }

        private Criteria andFdetailEqualTo_back(Boolean value) {
            addCriterion("fDetail =", value, "fdetail");
            return (Criteria) this;
        }

        private Criteria andFdetailNotEqualTo_back(Boolean value) {
            addCriterion("fDetail <>", value, "fdetail");
            return (Criteria) this;
        }

        private Criteria andFdetailGreaterThan_back(Boolean value) {
            addCriterion("fDetail >", value, "fdetail");
            return (Criteria) this;
        }

        private Criteria andFdetailGreaterThanOrEqualTo_back(Boolean value) {
            addCriterion("fDetail >=", value, "fdetail");
            return (Criteria) this;
        }

        private Criteria andFdetailLessThan_back(Boolean value) {
            addCriterion("fDetail <", value, "fdetail");
            return (Criteria) this;
        }

        private Criteria andFdetailLessThanOrEqualTo_back(Boolean value) {
            addCriterion("fDetail <=", value, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFdetailIn(List<Boolean> values) {
            addCriterion("fDetail in", values, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFdetailNotIn(List<Boolean> values) {
            addCriterion("fDetail not in", values, "fdetail");
            return (Criteria) this;
        }

        private Criteria andFdetailBetween_back(Boolean value1, Boolean value2) {
            addCriterion("fDetail between", value1, value2, "fdetail");
            return (Criteria) this;
        }

        private Criteria andFdetailNotBetween_back(Boolean value1, Boolean value2) {
            addCriterion("fDetail not between", value1, value2, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidIsNull() {
            addCriterion("fRunStatusID is null");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidIsNotNull() {
            addCriterion("fRunStatusID is not null");
            return (Criteria) this;
        }

        private Criteria andFrunstatusidEqualTo_back(Byte value) {
            addCriterion("fRunStatusID =", value, "frunstatusid");
            return (Criteria) this;
        }

        private Criteria andFrunstatusidNotEqualTo_back(Byte value) {
            addCriterion("fRunStatusID <>", value, "frunstatusid");
            return (Criteria) this;
        }

        private Criteria andFrunstatusidGreaterThan_back(Byte value) {
            addCriterion("fRunStatusID >", value, "frunstatusid");
            return (Criteria) this;
        }

        private Criteria andFrunstatusidGreaterThanOrEqualTo_back(Byte value) {
            addCriterion("fRunStatusID >=", value, "frunstatusid");
            return (Criteria) this;
        }

        private Criteria andFrunstatusidLessThan_back(Byte value) {
            addCriterion("fRunStatusID <", value, "frunstatusid");
            return (Criteria) this;
        }

        private Criteria andFrunstatusidLessThanOrEqualTo_back(Byte value) {
            addCriterion("fRunStatusID <=", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidIn(List<Byte> values) {
            addCriterion("fRunStatusID in", values, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidNotIn(List<Byte> values) {
            addCriterion("fRunStatusID not in", values, "frunstatusid");
            return (Criteria) this;
        }

        private Criteria andFrunstatusidBetween_back(Byte value1, Byte value2) {
            addCriterion("fRunStatusID between", value1, value2, "frunstatusid");
            return (Criteria) this;
        }

        private Criteria andFrunstatusidNotBetween_back(Byte value1, Byte value2) {
            addCriterion("fRunStatusID not between", value1, value2, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidIsNull() {
            addCriterion("fStatusID is null");
            return (Criteria) this;
        }

        public Criteria andFstatusidIsNotNull() {
            addCriterion("fStatusID is not null");
            return (Criteria) this;
        }

        private Criteria andFstatusidEqualTo_back(Byte value) {
            addCriterion("fStatusID =", value, "fstatusid");
            return (Criteria) this;
        }

        private Criteria andFstatusidNotEqualTo_back(Byte value) {
            addCriterion("fStatusID <>", value, "fstatusid");
            return (Criteria) this;
        }

        private Criteria andFstatusidGreaterThan_back(Byte value) {
            addCriterion("fStatusID >", value, "fstatusid");
            return (Criteria) this;
        }

        private Criteria andFstatusidGreaterThanOrEqualTo_back(Byte value) {
            addCriterion("fStatusID >=", value, "fstatusid");
            return (Criteria) this;
        }

        private Criteria andFstatusidLessThan_back(Byte value) {
            addCriterion("fStatusID <", value, "fstatusid");
            return (Criteria) this;
        }

        private Criteria andFstatusidLessThanOrEqualTo_back(Byte value) {
            addCriterion("fStatusID <=", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidIn(List<Byte> values) {
            addCriterion("fStatusID in", values, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidNotIn(List<Byte> values) {
            addCriterion("fStatusID not in", values, "fstatusid");
            return (Criteria) this;
        }

        private Criteria andFstatusidBetween_back(Byte value1, Byte value2) {
            addCriterion("fStatusID between", value1, value2, "fstatusid");
            return (Criteria) this;
        }

        private Criteria andFstatusidNotBetween_back(Byte value1, Byte value2) {
            addCriterion("fStatusID not between", value1, value2, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusIsNull() {
            addCriterion("fStatus is null");
            return (Criteria) this;
        }

        public Criteria andFstatusIsNotNull() {
            addCriterion("fStatus is not null");
            return (Criteria) this;
        }

        private Criteria andFstatusEqualTo_back(Boolean value) {
            addCriterion("fStatus =", value, "fstatus");
            return (Criteria) this;
        }

        private Criteria andFstatusNotEqualTo_back(Boolean value) {
            addCriterion("fStatus <>", value, "fstatus");
            return (Criteria) this;
        }

        private Criteria andFstatusGreaterThan_back(Boolean value) {
            addCriterion("fStatus >", value, "fstatus");
            return (Criteria) this;
        }

        private Criteria andFstatusGreaterThanOrEqualTo_back(Boolean value) {
            addCriterion("fStatus >=", value, "fstatus");
            return (Criteria) this;
        }

        private Criteria andFstatusLessThan_back(Boolean value) {
            addCriterion("fStatus <", value, "fstatus");
            return (Criteria) this;
        }

        private Criteria andFstatusLessThanOrEqualTo_back(Boolean value) {
            addCriterion("fStatus <=", value, "fstatus");
            return (Criteria) this;
        }

        public Criteria andFstatusIn(List<Boolean> values) {
            addCriterion("fStatus in", values, "fstatus");
            return (Criteria) this;
        }

        public Criteria andFstatusNotIn(List<Boolean> values) {
            addCriterion("fStatus not in", values, "fstatus");
            return (Criteria) this;
        }

        private Criteria andFstatusBetween_back(Boolean value1, Boolean value2) {
            addCriterion("fStatus between", value1, value2, "fstatus");
            return (Criteria) this;
        }

        private Criteria andFstatusNotBetween_back(Boolean value1, Boolean value2) {
            addCriterion("fStatus not between", value1, value2, "fstatus");
            return (Criteria) this;
        }

        public Criteria andFimageIsNull() {
            addCriterion("fImage is null");
            return (Criteria) this;
        }

        public Criteria andFimageIsNotNull() {
            addCriterion("fImage is not null");
            return (Criteria) this;
        }

        public Criteria andFimageEqualTo(String value) {
            addCriterion("fImage =", value, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageNotEqualTo(String value) {
            addCriterion("fImage <>", value, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageGreaterThan(String value) {
            addCriterion("fImage >", value, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageGreaterThanOrEqualTo(String value) {
            addCriterion("fImage >=", value, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageLessThan(String value) {
            addCriterion("fImage <", value, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageLessThanOrEqualTo(String value) {
            addCriterion("fImage <=", value, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageLike(String value) {
            addCriterion("fImage like", value, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageNotLike(String value) {
            addCriterion("fImage not like", value, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageIn(List<String> values) {
            addCriterion("fImage in", values, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageNotIn(List<String> values) {
            addCriterion("fImage not in", values, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageBetween(String value1, String value2) {
            addCriterion("fImage between", value1, value2, "fimage");
            return (Criteria) this;
        }

        public Criteria andFimageNotBetween(String value1, String value2) {
            addCriterion("fImage not between", value1, value2, "fimage");
            return (Criteria) this;
        }

        public Criteria andFtenantidIsNull() {
            addCriterion("fTenantID is null");
            return (Criteria) this;
        }

        public Criteria andFtenantidIsNotNull() {
            addCriterion("fTenantID is not null");
            return (Criteria) this;
        }

        public Criteria andFtenantidEqualTo(Long value) {
            addCriterion("fTenantID =", value, "ftenantid");
            return (Criteria) this;
        }

        public Criteria andFtenantidNotEqualTo(Long value) {
            addCriterion("fTenantID <>", value, "ftenantid");
            return (Criteria) this;
        }

        public Criteria andFtenantidGreaterThan(Long value) {
            addCriterion("fTenantID >", value, "ftenantid");
            return (Criteria) this;
        }

        public Criteria andFtenantidGreaterThanOrEqualTo(Long value) {
            addCriterion("fTenantID >=", value, "ftenantid");
            return (Criteria) this;
        }

        public Criteria andFtenantidLessThan(Long value) {
            addCriterion("fTenantID <", value, "ftenantid");
            return (Criteria) this;
        }

        public Criteria andFtenantidLessThanOrEqualTo(Long value) {
            addCriterion("fTenantID <=", value, "ftenantid");
            return (Criteria) this;
        }

        public Criteria andFtenantidIn(List<Long> values) {
            addCriterion("fTenantID in", values, "ftenantid");
            return (Criteria) this;
        }

        public Criteria andFtenantidNotIn(List<Long> values) {
            addCriterion("fTenantID not in", values, "ftenantid");
            return (Criteria) this;
        }

        public Criteria andFtenantidBetween(Long value1, Long value2) {
            addCriterion("fTenantID between", value1, value2, "ftenantid");
            return (Criteria) this;
        }

        public Criteria andFtenantidNotBetween(Long value1, Long value2) {
            addCriterion("fTenantID not between", value1, value2, "ftenantid");
            return (Criteria) this;
        }

        public Criteria andFlevelEqualTo(int value) {
            addCriterion("fLevel =", value, "flevel");
            return (Criteria) this;
        }

        public Criteria andFlevelNotEqualTo(int value) {
            addCriterion("fLevel <>", value, "flevel");
            return (Criteria) this;
        }

        public Criteria andFlevelGreaterThan(int value) {
            addCriterion("fLevel >", value, "flevel");
            return (Criteria) this;
        }

        public Criteria andFlevelGreaterThanOrEqualTo(int value) {
            addCriterion("fLevel >=", value, "flevel");
            return (Criteria) this;
        }

        public Criteria andFlevelLessThan(int value) {
            addCriterion("fLevel <", value, "flevel");
            return (Criteria) this;
        }

        public Criteria andFlevelLessThanOrEqualTo(int value) {
            addCriterion("fLevel <=", value, "flevel");
            return (Criteria) this;
        }

        public Criteria andFlevelBetween(int value1, int value2) {
            addCriterion("fLevel between", value1, value2, "flevel");
            return (Criteria) this;
        }

        public Criteria andFlevelNotBetween(int value1, int value2) {
            addCriterion("fLevel not between", value1, value2, "flevel");
            return (Criteria) this;
        }

        public Criteria andFdetailEqualTo(int value) {
            addCriterion("fDetail =", value, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFdetailNotEqualTo(int value) {
            addCriterion("fDetail <>", value, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFdetailGreaterThan(int value) {
            addCriterion("fDetail >", value, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFdetailGreaterThanOrEqualTo(int value) {
            addCriterion("fDetail >=", value, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFdetailLessThan(int value) {
            addCriterion("fDetail <", value, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFdetailLessThanOrEqualTo(int value) {
            addCriterion("fDetail <=", value, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFdetailBetween(int value1, int value2) {
            addCriterion("fDetail between", value1, value2, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFdetailNotBetween(int value1, int value2) {
            addCriterion("fDetail not between", value1, value2, "fdetail");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidEqualTo(int value) {
            addCriterion("fRunStatusID =", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidNotEqualTo(int value) {
            addCriterion("fRunStatusID <>", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidGreaterThan(int value) {
            addCriterion("fRunStatusID >", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidGreaterThanOrEqualTo(int value) {
            addCriterion("fRunStatusID >=", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidLessThan(int value) {
            addCriterion("fRunStatusID <", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidLessThanOrEqualTo(int value) {
            addCriterion("fRunStatusID <=", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidBetween(int value1, int value2) {
            addCriterion("fRunStatusID between", value1, value2, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidNotBetween(int value1, int value2) {
            addCriterion("fRunStatusID not between", value1, value2, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidEqualTo(int value) {
            addCriterion("fStatusID =", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidNotEqualTo(int value) {
            addCriterion("fStatusID <>", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidGreaterThan(int value) {
            addCriterion("fStatusID >", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidGreaterThanOrEqualTo(int value) {
            addCriterion("fStatusID >=", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidLessThan(int value) {
            addCriterion("fStatusID <", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidLessThanOrEqualTo(int value) {
            addCriterion("fStatusID <=", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidBetween(int value1, int value2) {
            addCriterion("fStatusID between", value1, value2, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidNotBetween(int value1, int value2) {
            addCriterion("fStatusID not between", value1, value2, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusEqualTo(int value) {
            addCriterion("fStatus =", value, "fstatus");
            return (Criteria) this;
        }

        public Criteria andFstatusNotEqualTo(int value) {
            addCriterion("fStatus <>", value, "fstatus");
            return (Criteria) this;
        }

        public Criteria andFstatusGreaterThan(int value) {
            addCriterion("fStatus >", value, "fstatus");
            return (Criteria) this;
        }

        public Criteria andFstatusGreaterThanOrEqualTo(int value) {
            addCriterion("fStatus >=", value, "fstatus");
            return (Criteria) this;
        }

        public Criteria andFstatusLessThan(int value) {
            addCriterion("fStatus <", value, "fstatus");
            return (Criteria) this;
        }

        public Criteria andFstatusLessThanOrEqualTo(int value) {
            addCriterion("fStatus <=", value, "fstatus");
            return (Criteria) this;
        }

        public Criteria andFstatusBetween(int value1, int value2) {
            addCriterion("fStatus between", value1, value2, "fstatus");
            return (Criteria) this;
        }

        public Criteria andFstatusNotBetween(int value1, int value2) {
            addCriterion("fStatus not between", value1, value2, "fstatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}